﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace d1Common.Interface
{
    public interface IDoCache
    {
        T GetData<T>(string group, string key);
        void SetData(string group, string key, object data);
        //设置缓存值，cacheTime单位为：秒
        void SetData(string group, string key, object data, int cacheTime);
        void RemoveData(string group, string key);
        bool ContainsKey(string group, string key);
        void InitData();
    }
}